﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>JskitImport.html</title>
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="this is my page">
	 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<link rel="stylesheet" type="text/css" href="../main.css">
    	<script src="../../release/jskit.core.js"></script>

	    <script src="../JskitConfig_doc.js"></script>
	</head>
	<body>
		<table border="0" id="Table1">
			<tbody>
				<tr>
					<td class="package">
						JskitImport.js
					</td>
				</tr>
				<tr>
					<td class="title">
						Author:
					</td>
				</tr>
				<tr>
					<td class="content">
						AnyRock
					</td>
				</tr>
				<tr>
					<td class="title">
						Comment:
					</td>
				</tr>
				<tr>
					<td class="content">
						用来引入所需要的js和css文件
					</td>
				</tr>
				<tr>
					<td class="title">
						Initializtion:
					</td>
				</tr>
				<tr>
					<td class="content">
						static $import
					</td>
				</tr>
				<tr>
					<td class="title">
						Required:
					</td>
				</tr>
				<tr>
					<td class="content">
						nothing
					</td>
				</tr>
				<tr>
					<td class="title">
						Methods:
					</td>
				</tr>
				<tr>
					<td class="content">
						<table border="1" cellspacing="0" class="content_list" id="Table2">
							<tbody>
								<tr bgcolor="#cccccc">
									<td>
										Name
									</td>
									<td>
										Parameters
									</td>
									<td>
										Return
									</td>
									<td>
										Comment
									</td>
								</tr>
								<tr>
									<td>
										path([rKey])
									</td>
									<td>
										rKey : 判断位置的参考正则表达式，缺省为"/jskit\.core([0-9|a-z|A-Z|\.]*)\.js"，即为得到Jskit.org的根路径
									</td>
									<td>
										String
									</td>
									<td>
										根据参考rKey值得到Url path
									</td>
								</tr>
								<tr>
									<td>
										js(rFileUrl[,rKey])
									</td>
									<td>
										rFileUrl : js文件的路径
										<br>rKey : 参考文件名
									</td>
									<td>
									</td>
									<td>
										如果该文件已经被JskitLoad装载过,不会被再次装载
									</td>
								</tr>
								<tr>
									<td>
										css(rFileUrl[,rKey])
									</td>
									<td>
										rFileUrl:css文件的路径
										<br>rKey : 参考文件名
									</td>
									<td>
									</td>
									<td>
										如果该文件已经被JskitLoad装载过,不会被再次装载
									</td>
								</tr>
							</tbody>
						</table>
					</td>
				</tr>
				<tr>
					<td class="title">
						Example:
					</td>
				</tr>
				<tr>
					<td class="content">
						$import.js("ui/JskitValidation.js");
						<br />$import.css("JskitXMenu.css","/JskitXMenu.js");
					</td>
				</tr>
			</tbody>
		</table>
	  </body>
</html>
